package com.miniso.robot.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author guojunwang
 * @date 2021-10-21 14:57
 */
@FeignClient(name = "testFeign",url="http://localhost:8080")
public interface TestFeign {

    @Async("executor-1")
    @GetMapping("/test3")
    public String test();
}
